package ru.maxmatveev.dyndao;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Use this annotation if you want to get count of rows instead of getting rows themselves.
 * Result is returned as Integer.
 *
 * @author Max Matveev
 *         Date: Dec 22, 2008
 *         Time: 1:02:23 AM
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Count {
}
